package org.jsola.hr.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jsola.core.vo.BaseVO;

import static org.jsola.core.example.BaseExample.E_ID;
import static org.jsola.core.example.BaseExample.N_ID;
import static org.jsola.hr.example.SalaryBillFieldsExample.E_BILL_ID;
import static org.jsola.hr.example.SalaryBillFieldsExample.E_FIELD_NAME;
import static org.jsola.hr.example.SalaryBillFieldsExample.E_FIELD_VALUE;
import static org.jsola.hr.example.SalaryBillFieldsExample.E_NEED_CALCULATE;
import static org.jsola.hr.example.SalaryBillFieldsExample.E_SORT;
import static org.jsola.hr.example.SalaryBillFieldsExample.N_BILL_ID;
import static org.jsola.hr.example.SalaryBillFieldsExample.N_FIELD_NAME;
import static org.jsola.hr.example.SalaryBillFieldsExample.N_FIELD_VALUE;
import static org.jsola.hr.example.SalaryBillFieldsExample.N_NEED_CALCULATE;
import static org.jsola.hr.example.SalaryBillFieldsExample.N_SORT;

/**
 * 工资条自定义字段
 *
 * @author zhr
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "【工资条自定义字段】详情展示对象")
@Data
public class SalaryBillFieldsVO extends BaseVO {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(notes = N_ID, example = E_ID)
    private String id;

    @ApiModelProperty(notes = N_BILL_ID, example = E_BILL_ID)
    private String billId;

    @ApiModelProperty(notes = N_FIELD_NAME, example = E_FIELD_NAME)
    private String fieldName;

    @ApiModelProperty(notes = N_FIELD_VALUE, example = E_FIELD_VALUE)
    private String fieldValue;

    @ApiModelProperty(notes = N_NEED_CALCULATE, example = E_NEED_CALCULATE)
    private Boolean needCalculate;

    @ApiModelProperty(notes = N_SORT, example = E_SORT)
    private Integer sort;



}

